document.addEventListener('DOMContentLoaded', function () {
	var button = document.getElementById('changeColor');
	button.addEventListener('click', function () {
		chrome.storage.sync.get('color', ({color}) => {
			button.style.backgroundColor = color;
		});
	});
});
